package com.shop.prj.dao;

import com.shop.prj.bean.Book;
import com.shop.prj.bean.Manager;
import com.shop.prj.bean.ShopCar;
import com.shop.prj.bean.User;

import java.util.List;

public interface UserDao {
	public boolean login(User user);
    int insert(User user);
    int update(User user);
    int delete(Integer id);
    User  queryUserId(Long id); 
    User  queryUser(String name);
    List<User> queryAll();
    public List<User> queryByUserName(String name);
    
}
